import layoutHeaderAside from '@/views/layout/header-aside';
import emptyRouter from '@/views/layout/EmptyRouter';

const meta = {requiresAuth: true};
export default [
  {path: 'case/list', name: 'caseList', meta: {title: '案件查询', auth: true}, component: () => import('@/views/case/list')},
  {path: 'case/coordination', name: 'caseCoordination', meta: {title: '协同办案', auth: true}, component: () => import('@/views/system/workflow/model')},
  {path: 'case/monitor', name: 'caseMonitor', meta: {title: '执法监控', auth: true}, component: () => import('@/views/system/workflow/process')},
  {path: 'case/check', name: 'caseCheck', meta: {title: '行政检查', auth: true}, component: () => import('@/views/system/workflow/task')},
  {path: 'case/query', name: 'caseQuery', meta: {title: '综合查询', auth: true}, component: () => import('@/views/system/workflow/history')},
  {path: 'case/reg', name: 'caseReg', meta: {title: '案件登记', auth: true}, component: () => import('@/views/case/reg')},
  {path: 'case/execute', name: 'caseExecute', meta: {title: '案件审批', auth: true}, component: () => import('@/views/case/execute')},
  {path: 'case/punish', name: 'casePunish', meta: {title: '行政处罚', auth: true}, component: () => import('@/views/case/punish')},
  {path: 'case/handle', name: 'caseHandle', meta: {title: '案件办理', auth: true}, component: () => import('@/views/case/handle')},
  {path: 'case/end', name: 'caseEnd', meta: {title: '案件结案', auth: true}, component: () => import('@/views/case/end')},
  {path: 'case/archives', name: 'caseArchives', meta: {title: '电子档案', auth: true}, component: () => import('@/views/case/archives')},
  {path: 'case/hearing', name: 'hearing', meta: {title: '听证讨论', auth: true}, component: () => import('@/views/case/hearing')},
  {path: 'case/serious-case', name: 'caseSerious', meta: {title: '电子档案', auth: true}, component: () => import('@/views/case/serious-case')},
  {path: 'case/property', name: 'property', meta: {title: '案件财物', auth: true}, component: () => import('@/views/case/property')},
  {path: 'case/enforcement', name: 'enforcement', meta: {title: '强制执行', auth: true}, component: () => import('@/views/case/enforcement')},
  {
    path: 'case/evidence', meta, component: emptyRouter, children: [
      {path: 'register', name: 'case/evidence/register', meta: {title: '线索登记', auth: true}, component: () => import('@/views/evidence/register')},
      {path: 'deal', name: 'case/evidence/deal', meta: {title: '线索甄别', auth: true}, component: () => import('@/views/evidence/deal')},
      {path: 'search', name: 'case/evidence/search', meta: {title: '线索查询', auth: true}, component: () => import('@/views/evidence/search')},
    ]
  },
  {
    path: 'case/system', meta, component: emptyRouter, children: [
      {path: 'important', name: 'case/system/important', meta: {title: '重点监管对象', auth: true}, component: () => import('@/views/system/workflow/history')},
      {path: 'discretion', name: 'case/system/discretion', meta: {title: '自由裁量基准', auth: true}, component: () => import('@/views/system/discretion')},
      {path: 'doc', name: 'case/system/doc', meta: {title: '文书管理', auth: true}, component: () => import('@/views/system/doc')},
      {path: 'classic', name: 'system/classic', meta: {title: '典型案例', auth: true}, component: () => import('@/views/system/workflow/history')},
      {path: 'type', name: 'case/system/type', meta: {title: '执法应用', auth: true}, component: () => import('@/views/system/workflow/history')},
      {path: 'dept', name: 'case/system/dept', meta: {title: '组织机构', auth: true}, component: () => import('@/views/system/dept/index')},
      {path: 'behavior', name: 'case/system/behavior', meta: {title: '违法行为', auth: true}, component: () => import('@/views/system/casecause')},
      {path: 'law', name: 'case/system/law', meta: {title: '法律法规', auth: true}, component: () => import('@/views/system/bnslaw/index')},
    ]
  }]

